package com.kelp.codetoolkit.enums

/**
 * @author: liuyuebai
 * @date: 2025/1/1 21:28
 * @description:
 */
enum class OrmFrameworkEnum(val value: String, val description: String) {

    MyBatis("MyBatis","mybatis"),
    MyBatisPlus("MyBatis-Plus","mybatis-plus"),
    ;

    companion object {
        fun getByValue(value: String): OrmFrameworkEnum? {
            return values().find { it.value == value }
        }
    }
}